<?php
            
namespace Admin\Model;
use Think\Model;
use Think\Upload;

/**
 * 商品规格模型
 *  
 */

class ProductSpecModel extends Model{
    protected $tableName = 'product_spec'; 
    
    protected $_validate = array(
        array('name','require','规格名称必须填写'),  
        array('price','require','规格价格必须填写'), 
        array('inventory','require','规格数量必须填写'),
    );
     
    
   
     
}
